<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> 
<link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="__PUBLIC__/js/jquery.js"></script> 
</head>

<body style="background:url(__PUBLIC__/image/topbg.gif) repeat-x;">
	<div style="height:50px;">
	  	<div class="topleft">
	   		 <a href="{:url('index/index')}" target="_parent" style="width:100%;float:left;text-align:center;padding:8px 0px;font-size:26px;color:#fff;font-style:italic;">DaiFast</a>
	    </div>
	    
	    <ul class="nav">
	    {volist name="menuArr" id="vo" key="k" }
	    	<li>
	    		<a href="{:url('Index/left',array('id'=>$vo['id']))}" target="leftFrame" {eq name="$vo['id']" value="$id"} class="selected" {/eq} style="color:#fff;">{$vo.names} </a>
	    	</li>
	   	{/volist}
	       
	    </ul>
	    
	    <div class="topright">    
		    <ul> 
		    	<li><a href="{:url('Index/logout')}" target="_parent">退出</a></li>
		    </ul>
		     
		    <div class="user">
		    	<span>admin</span> 
		    </div>     
	    </div> 
    </div> 
    
</body>


    
<script>
$(".nav li a").click(function (){ 
	$(".nav li a").removeClass("selected");
	$(this).addClass("selected");
});

$(".add_menu").click(function (){
	window.parent.addMenu();
	
});

 
</script>
 
</html>
